; Copyright (c) 2004 Lenovo
;
; VPC.INF  --  This file contains descriptions for the Virtual Power Controller
;			   in EC.
;
; You may need to modify this file as appropriate for your device.
;
[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
CatalogFile.ntamd64=AcpiVpc.cat
Provider=%PROVIDER%
DriverVer=10/19/2009,5.4.0.1

[SourceDisksNames]
1 = %InstallDisk%

[SourceDisksFiles]
AcpiVpc.sys = 1

[DestinationDirs]
DefaultDestDir = 12

[ControlFlags]
;
; Exclude all devices from Select Device list
;
ExcludeFromSelect = *

[ClassInstall32]
AddReg=System_Class_Addreg

[System_Class_Addreg]
HKR,,,0,"System Class Drivers"

[Manufacturer]
%PROVIDER%=Lenovo,ntamd64


[Lenovo.ntamd64]
%*vpc2004.DeviceDesc% = ACPIVPC_Inst,ACPI\vpc2004

;
; Vpc (wdm)
;

[ACPIVPC_Inst.ntamd64]
CopyFiles = @AcpiVpc.sys

[ACPIVPC_Inst.ntamd64.Services]
AddService = ACPIVPC,%SPSVCINST_ASSOCSERVICE%,ACPIVPC_Service_Inst

[ACPIVPC_Service_Inst]
DisplayName    = %ACPIVPC.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\AcpiVpc.sys


[strings]
InstallDisk			  = "Lenove EnergyCut Setup Disk"
PROVIDER              = "Lenovo"
*vpc2004.DeviceDesc   = "Lenovo ACPI-Compliant Virtual Power Controller"
ACPIVPC.SvcDesc       = "Lenovo Virtual Power Controller Driver"


SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_SYSTEM_START  = 1
SERVICE_AUTO_START	  = 2
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1

